$(function () {

    //境外轮播
    function swiperInit() {
        var mySwiper = new Swiper('.swiper-container', {

            loop: true, // 循环模式选项

            // 如果需要分页器
            pagination: {
                el: '.swiper-pagination',
            },
            effect: 'coverflow',
            slidesPerView: 3,
            centeredSlides: true,
            // 如果需要前进后退按钮
            navigation: {
                nextEl: '.swiper-button-next',
                prevEl: '.swiper-button-prev',
            }
        })
    }
    swiperInit();

    $(".aside").css("backgroundColor", "#fff");
    $(".china").css("backgroundColor", "transparent");

    $(".china").on("click", function () {
        location.href = "travels1.html";
    })
    $(".aside").on("click", function () {
        location.href = "travels2.html";
    })
})